export class Init {
  constructor() {
    this.appInstance = window.appInstance;
  }
  load(id,url,token) {
    this.appInstance.initService(
      {
        container: document.getElementById(id),
        mode: "scene",
        url: url,
        token: token,
        resourceBasePath: "https://www.tuguan.net/public/tgapp/scene", // 在线引用的资源地址，如果是流渲染可以不写
      },
      (e) => {
      }
    );
  }
}
